package com.sinochem.sales.workflow.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class UserLeave implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String userId;

    private String userName;

    private Date beginTime;

    private Date endTime;

    private String reason;

    private Integer days;

    private String processInstanceId;

    private String status;

    private Date createDate;

    private String createBy;

    private Date updateDate;

    private String updateBy;

    //***实时节点信息
    private String taskName;

    //实时节点id
    private String taskId;

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    //请假单审核信息
    private List<LeaveOpinion> opinionList = new ArrayList<>();

}